package com.thomas.entity;

import java.util.Date;
import java.util.LinkedList;
import java.util.List;


/** 
 * @ClassName: Blog 
 * @Description: 博客实体 
 * @author thomas_liu  
 * @date 2017年5月6日 下午1:20:04 
 */
public class Blog {
	
	private Integer id;//编号
	private String title;//博客标题
	private String summary;//摘要
	private Date releaseDate;//发布日期
	private Integer clickHit;//查看次数
	private Integer replyHit;//回复次数
	private String content;//博客内容
	
	private String contentNoTag;//博客内容，无网页标签 Lucene分词用到
	
	private BlogType blogType;//博客类型
	
	private String keyWord;//关键字 空格隔开
	private Integer blogCount;//博客数量 非博客实际属性 主要是 根据发布日期归档查询数量用到
	private String releaseDateStr;//发布日期的字符串 只取年和月
	
	private List<String> imageList = new LinkedList<String>();//博客里存在的图片，主要用于列表里展示的缩略图
	
	
	public String getContentNoTag() {
		return contentNoTag;
	}

	public void setContentNoTag(String contentNoTag) {
		this.contentNoTag = contentNoTag;
	}

	/**
	 * @return the imageList
	 */
	public List<String> getImageList() {
		return imageList;
	}

	/**
	 * @param imageList the imageList to set
	 */
	public void setImageList(List<String> imageList) {
		this.imageList = imageList;
	}

	/**
	 * @return the blogType
	 */
	public BlogType getBlogType() {
		return blogType;
	}
	
	/**
	 * @param blogType the blogType to set
	 */
	public void setBlogType(BlogType blogType) {
		this.blogType = blogType;
	}
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}
	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	/**
	 * @return the summary
	 */
	public String getSummary() {
		return summary;
	}
	/**
	 * @param summary the summary to set
	 */
	public void setSummary(String summary) {
		this.summary = summary;
	}
	/**
	 * @return the releaseDate
	 */
	public Date getReleaseDate() {
		return releaseDate;
	}
	/**
	 * @param releaseDate the releaseDate to set
	 */
	public void setReleaseDate(Date releaseDate) {
		this.releaseDate = releaseDate;
	}
	/**
	 * @return the clickHit
	 */
	public Integer getClickHit() {
		return clickHit;
	}
	/**
	 * @param clickHit the clickHit to set
	 */
	public void setClickHit(Integer clickHit) {
		this.clickHit = clickHit;
	}
	/**
	 * @return the replyHit
	 */
	public Integer getReplyHit() {
		return replyHit;
	}
	/**
	 * @param replyHit the replyHit to set
	 */
	public void setReplyHit(Integer replyHit) {
		this.replyHit = replyHit;
	}
	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}
	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}
	/**
	 * @return the keyWord
	 */
	public String getKeyWord() {
		return keyWord;
	}
	/**
	 * @param keyWord the keyWord to set
	 */
	public void setKeyWord(String keyWord) {
		this.keyWord = keyWord;
	}
	/**
	 * @return the blogCount
	 */
	public Integer getBlogCount() {
		return blogCount;
	}
	/**
	 * @param blogCount the blogCount to set
	 */
	public void setBlogCount(Integer blogCount) {
		this.blogCount = blogCount;
	}
	/**
	 * @return the releaseDateStr
	 */
	public String getReleaseDateStr() {
		return releaseDateStr;
	}
	/**
	 * @param releaseDateStr the releaseDateStr to set
	 */
	public void setReleaseDateStr(String releaseDateStr) {
		this.releaseDateStr = releaseDateStr;
	}
	
	
	

}
